package com.app.backend.common.service;

import com.app.backend.common.base.BaseService;
import com.app.backend.common.entity.Log;
import com.app.backend.common.vo.LogVo;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @program: LogService
 * @description:
 * @author: Zhun.Xiao
 * @create: 2020-02-09 21:48
 **/
public interface LogService extends BaseService<Log, String> {


    /**
     * 假设对log中的 name-方法名，username-用户名，ip做多条件模糊查询，且加上startTime ,endTime结束时间
     *
     * @param logVo
     * @param pageable
     * @return
     */
    Page<Log> findByConditionPage(LogVo logVo, Pageable pageable);


}